home *** CD-ROM | disk | FTP | other *** search
/ Belgian Amiga Club - ADF Collection / BS1 part 34.zip / BS1 part 34 / Digi-view 4.0 PAL.adf / DV-Link / Color < prev    next >
AmigaDOS Script File  |  2018-01-18  |  978b  |  54 lines

  1. .key LeaveThisHere
  2.  
  3. DoWeHaveMem
  4. if warn
  5. echo "                Sorry - This demo requires 1 megabyte of memory"
  6. wait 2
  7. skip NoMemory
  8. endif
  9.  
  10. if not exists RAM:Echo
  11. copy DVLink RAM:
  12. copy C:Wait RAM:
  13. copy C:Echo RAM:
  14. endif
  15.  
  16. RAM:echo " A sample script to demo playing with color values in Digi-View 4.0."
  17. RAM:echo " Requires 1 meg of memory."
  18. RAM:echo ""
  19.  
  20. cd /      ; MUST BE IN DIGI-VIEW DIRECTORY
  21. RAM:DVLink quit   ;quit Digi-View to setup right mode
  22. RAM:echo " Now Loading Digi-View ..."
  23. run >nil: DV 320 256 c
  24. RAM:wait 8             ; Floppy delay, change for hard drive
  25. lab loop
  26. RAM:DVLink mbaw
  27. if warn
  28. RAM:wait 2
  29. skip loop back      ;wait for Digi-View to load
  30. endif
  31.  
  32. RAM:DVLink liff Images/Fashion
  33. RAM:DVLink mhap
  34.  
  35. RAM:DVLink cred 0
  36. RAM:DVLink cgrn -47
  37. RAM:DVLink cblu -47
  38. RAM:DVLink disp
  39.  
  40. RAM:DVLink cred -47
  41. RAM:DVLink cgrn 0
  42. RAM:DVLink disp
  43.  
  44. RAM:DVLink cgrn -47
  45. RAM:DVLink cblu 0
  46. RAM:DVLink disp
  47. RAM:DVLink scbk
  48.  
  49. RAM:echo ""
  50. RAM:echo " Done!"
  51. RAM:DVLink quit
  52.  
  53. lab NoMemory
  54.